package com.lingxu.traffic.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.lingxu.module.process.controller.vo.IssmcVO;
import com.lingxu.traffic.dto.ProjectChangeDTO;
import com.lingxu.traffic.dto.ProjectOverviewDTO;
import com.lingxu.traffic.dto.ProjectWarningDTO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @ClassName ProjectMapper
 * @Description 描述
 * @Author junyi.wang
 * @Date 2025/7/3 16:37
 */
//@DS("slave")
public interface ProjectMapper {
    //    Map<String, Object> getProjectStatistics();
    Integer getProjectStatistics();
    List<Map<String, Object>> getProjectProgressList(String PROTYPE);

    ProjectOverviewDTO getProjectDetail(@Param("projectName") String projectName);

    Map<String,Long> getCountProjectStatus();

    Double getCountInvestment();

    List<Map<String,Object>> getCountProjectType();

    Integer getIssNum(@Param("userId") String userId);

    IssmcVO getIssmc(@Param("userId") String userId);

    Integer getBdNum(@Param("projectId") String projectId);

    List<Map<String, Object>> getGD();

    List<Map<String, Object>> getGH();

    ProjectOverviewDTO getGeneralOverview(@Param("proType") String proType);

    ProjectOverviewDTO getGeneralOverviewGH(@Param("proType") String proType);

    ProjectOverviewDTO getGeneralOverviewGD(@Param("proType") String proType);

    List<ProjectChangeDTO> getChangeSupervise(@Param("proType") String proType);

    List<ProjectWarningDTO> getWarningDataAnalyze();
}

